//
//  AppDelegate.h
//  TravelOcean
//
//  Created by double Mac on 15/3/7.
//  Copyright (c) 2015年 double Mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JVFloatingDrawerAnimation.h"
#import "JVFloatingDrawerSpringAnimator.h"
#import "LeftDrawerViewController.h"
#import "HotSpotsViewController.h"
#import "RootViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (retain, nonatomic) UIWindow *window;

@property (nonatomic, strong) JVFloatingDrawerViewController *drawerViewController;
@property (nonatomic, strong) JVFloatingDrawerSpringAnimator *drawerAnimator;

@property (nonatomic, strong) UIViewController *hotSpotsViewController;
@property (nonatomic, retain) UIViewController *rootViewController;
@property (nonatomic, retain) UINavigationController *hotNaVC;
@property (nonatomic, retain) UINavigationController *rootNaVC;

// 类方法, 方便创建对象
+ (AppDelegate *)globalDelegate;

- (void)toggleLeftDrawer:(id)sender animated:(BOOL)animated;
- (void)toggleRightDrawer:(id)sender animated:(BOOL)animated;

@end

